html,
body,
#map {
    width: 100%;
    height: 100%;
    margin: 0;
    background: #fff;
}

.legend {
    line-height: 16px;
    width: 200px;
    color: #333333;
    padding: 6px 8px;
    background: white;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.legend i {
    width: 16px;
    height: 16px;
    float: left;
    margin-right: 8px;
    opacity: 0.9;
}

.legend img {
    width: 16px;
    height: 16px;
    margin-right: 3px;
    float: left;
}

.legend p {
    font-size: 12px;
    line-height: 16px;
    margin: 0;
}